/*
 * @Author: ljhxy08 2477945828@qq.com
 * @Date: 2024-09-02 17:25:45
 * @LastEditors: ljhxy08 2477945828@qq.com
 * @LastEditTime: 2024-09-02 17:40:04
 * @FilePath: \Java���Ż���\day06\Test06.java
 * @Description: ����Ĭ������,������`customMade`, ��koroFileHeader�鿴���� ��������: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import java.util.Scanner;

public class Test06 {
    public static void main(String[] args){
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int n=scanner.nextInt();
        int i=0;
        int h=((1+n)/2)*n;
        for(i=0;i<=n;i++){
                   
        }System.out.println("和："+h); 
    }
}
